package ch.sv7.tool.dbmanager.db;

public class Field {

	private String name;

	private Object value;

	public Field() {
	}

	public Field(String name, Object value) {
		this.name = name;
		this.value = value;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Object getValue() {
		return value;
	}

	public void setValue(Object value) {
		this.value = value;
	}

	public String toString() {
		if (value == null)
			return "(" + name + " : null)";
		else
			return "(" + name + " : " + value.toString() + ")";
	}
}
